﻿public class EnemyAttrStrategy : IAttrStrategy
{
    public int GetExtraHpValue(int lv)
    {
        return 0;
    }

    public int GetDamageDescValue(int lv)
    {
        return 0;
    }

    public int GetCritRateDamageValue(float critRate)
    {
        if (critRate > UnityEngine.Random.Range(0f, 1f))
        {
            return (int) (10f * UnityEngine.Random.Range(0.5f, 1f));
        }

        return 0;
    }
}